package com.hzhr.iot.device.dao.mapper.custom;

import com.hzhr.iot.device.entity.CollectDataEntity;
import com.hzhr.iot.device.entity.RegulatorCollectDataEntity;
import com.hzhr.iot.device.entity.ext.CollectDataEntityExt;
import com.hzhr.iot.device.entity.ext.RegulatorCollectDataEntityExt;
import com.hzhr.iot.device.queryModel.custom.CollectDataCustomQueryModel;
import com.hzhr.iot.device.queryModel.custom.RegulatorCollectDataCustomQueryModel;

import java.util.List;

public interface RegulatorCollectDataEntityCustomMapper {
    //批量新增
    int insertBatch(List<RegulatorCollectDataEntity> recordList);
    //批量更新
    int updateBatch(List<RegulatorCollectDataEntity> recordList);
    //批量更新
    int updateBatchSelective(List<RegulatorCollectDataEntity> recordList);
    //通用查询
    List<RegulatorCollectDataEntityExt> selectExt(RegulatorCollectDataCustomQueryModel queryModel);
    //通用查询数量
    int selectCount(RegulatorCollectDataCustomQueryModel queryModel);
    //通用修改属性
    int updateProps(RegulatorCollectDataCustomQueryModel queryModel);
    //通用删除
    int delete(RegulatorCollectDataCustomQueryModel queryModel);
}
